public class Test {
    public static void main(String[] args) {
        MySingleLinkedList msl = new MySingleLinkedList();
        //msl.createList();

        msl.addFirst(1);
        msl.addFirst(2);
        msl.addFirst(3);
        msl.addFirst(4);
        msl.addLast(5);
        msl.addIndex(0,99);

        msl.display();

        System.out.println("=======");

        System.out.println(msl.size());
    }
}
